<?php

namespace App\Kuafu\User\Controller\B;

use App\Kuafu\Base\Controller\BaseController;
use App\Kuafu\User\Service\UserRoleService;
use Illuminate\Http\Request;

class UserRoleController extends BaseController
{
    /**
     * 查询用户角色
     * @param Request $request
     * @return \Illuminate\Http\JsonResponse
     */
    public function getUserRole(Request $request)
    {
        return $this->json(UserRoleService::getUserRole($request));
    }

}
